#!/bin/bash
cd ../rust-lang/rust_shared_lib
cargo build --release
cd ../../src
cjc -L../rust-lang/rust_shared_lib/target/release -lrust_shared_lib main.cj
export LD_LIBRARY_PATH=$(pwd)/../rust-lang/rust_shared_lib/target/release:"$LD_LIBRARY_PATH"
./main